//
//  TelephoneRouter.swift
//  zhonglb_iOS
//
//  Created by lxm on 2021/12/7.
//

import Foundation
class TelephoneRouter {
    // 路由
      static func initialize(navigator: NavigatorProtocol) {
          // 充值首页
          navigator.register("xm://main/telephone/chare") { url, values, context in
              let vc = TelephoneChargeVC()
              return vc
          }
          // 成功页面
          navigator.register("xm://main/telephone/success") { url, values, context in
              let vc = TeleSuccessVC()
              return vc
          }
          // 充值记录
          navigator.register("xm://main/telephone/record") { url, values, context in
              let vc = TeleChargeRecordVC()
              return vc
          }
      }
}
